package BehaviorDesignPattern.TemplateMethodPattern;

// 具体子类
public class Coffee extends Beverage{
    @Override
    void brew() {
        System.out.println("过滤咖啡");
    }

    @Override
    void addCondiments() {
        System.out.println("添加糖和牛奶");
    }
}
